home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mesolore
/
Mesolore - Disc 1.iso
/
pc
/
data
/
Buttons.cst
/
00060_Script_go library
< prev
next >
Wrap
Text File
|
2001-04-13
|
1KB
|
44 lines
Global gDispatcher,gPrefBrowser
on mousedown
btnDown
end
on mouseUp
btnUp
if the controldown then
set fio = new(XTRA "fileio")
if the platform contains "macintosh" then
fio.setfiltermask("APPL")
else
fio.setfiltermask("*.exe")
end if
filename = fio.displayOpen()
if not voidp(filename) and not (filename = EMPTY) then
browsername(filename)
gDispatcher.netLink("Library/index.htm")
else
nothing
end if
fio.closefile()
fio = 0
else
if not voidp(gPrefBrowser) then
gDispatcher.netLink("Library/index.htm")
else
if the platform contains "macintosh" then
the itemdelimiter = ":"
else
the itemdelimiter = "\"
end if
temp = browsername()
tempa = item (the number of items in temp) of temp
alert("Your preferred internet browser is currently set to: " & Return & RETURN & tempa¼
& return & return & "To use a different browser, hold down the CONTROL KEY, click the LIBRARY button and open your preferred browser.")
gPrefBrowser= browsername()
the itemdelimiter = ","
end if
end if
end